@echo off
setlocal enabledelayedexpansion

:start

getmac -v > mac.txt
findstr /c:"Bluetooth Devic" mac.txt > newMac.txt
for /f  "tokens=1,2,3,4 delims= " %%i in ('type newMac.txt') do (
    echo i=%%i j=%%j k=%%k l=%%l 
    Set strTemp=%%l
    Set "strTemp=!strTemp:-=!"
    echo !strTemp!
    echo !strTemp! > newMac_02.txt
)
pause
exit /B 0
timeout 100
